package com.api.gbhg.liuwenbo.test;

import com.api.gbhg.liuwenbo.api.NonCentralTreeApi;

import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Properties;

public class util {
    private static String test ;

    {
        System.out.println("no static!");
    }
    static {
        System.out.println("static");
        Properties property=new Properties();
        try {
            property.load(new InputStreamReader(NonCentralTreeApi.class.getResourceAsStream("../conf/NonCentralTree.properties"), "UTF-8"));
            test = property.getProperty("uf_fzysr");
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

    public static void a(){
        System.out.println("111");
        System.out.println(test);
    }

    public static void b(){

    }

    public static void c(){

    }
}
